/*
 * @Description: 疫苗管理接口
 */
import zhreq from "@/api/axios";
export default {
  //
  getQueryAll() {
    return zhreq.sheepOut.get(`health/v1/vaccinum/queryAll`);
  },
  // 分页查询
  postPageQuery(params) {
    return zhreq.sheepOut.post('health/v1/vaccinum/queryPageList', params)
  },

  // 添加
  postAdd(params) {
    return zhreq.sheepOut.post('health/v1/vaccinum/add', params)
  },

  // 删除
  postDel(params) {
    return zhreq.sheepOut.post('health/v1/vaccinum/delList', params)
  },

  // 获取疫苗名称下拉框数据
  getQueryWay() {
    return zhreq.sheepOut.get('health/v1/vaccinum/queryName')
  },

  // 获取接种方式下拉框数据
  getVaccinationMethods() {
    return zhreq.sheepOut.get('health/v1/vaccinum/queryWay')
  },

  // 条件查询
  postQueryCondition(params) {
    return zhreq.sheepOut.post('health/v1/vaccinum/queryByCondition', params)
  },

  // 修改
  postEdit(params) {
    return zhreq.sheepOut.post('health/v1/vaccinum/edit', params)
  }

}
